Skip to content

Conversation

@lovisaberggren
Copy link
Collaborator

Proposed changes

Adds rule xgen-IPA-117-description-must-not-use-html which checks for HTML tags in the descriptions. It will fail if

  • There is an opening and closing HTML tag
  • There is a self closing HTML tag, for example <br/> is a common one

Additionally, if there is an <a> tag, the error message with give a recommendation to use externalDocumentation property instead (see Swagger docs)

12 violations currently, checked them to ensure there are no false positives.

Jira ticket: CLOUDP-306570

@lovisaberggren lovisaberggren marked this pull request as ready for review March 25, 2025 16:08
@lovisaberggren lovisaberggren requested a review from a team as a code owner March 25, 2025 16:08
@lovisaberggren lovisaberggren merged commit f9de223 into main Mar 25, 2025
8 checks passed
@lovisaberggren lovisaberggren deleted the CLOUDP-306570 branch March 25, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants